package com.kgajowy.result;

import com.kgajowy.objects.DBID;

import edu.pjwstk.jps.datastore.IOID;
import edu.pjwstk.jps.result.IReferenceResult;

public class ReferenceResult extends SingleResult implements IReferenceResult {

    private IOID id;
    
    public ReferenceResult(IOID oid) {
        this.id = oid;
    }
    
    @Override
    public IOID getOIDValue() {
        return id;
    }

    @Override
    public String stringme() {
        String res = "i";
        DBID i = (DBID)id;
        res += i.getOID();
        return res;
    }

}
